Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Log error if there is one from the config service #318

Merged
merged 1 commit into from
Aug 6, 2019

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Aug 6, 2019

What is this?

When users are having issues with their config file in support it would be helpful to log the error that's being caught in the config service. I also added another debug log that logs out the directory we'd be expecting the .percy.yml file to be.

@Robdel12 Robdel12 requested review from djones and wwilsman August 6, 2019 15:40
@Robdel12 Robdel12 merged commit 6432b63 into master Aug 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the rd/catch-error-config branch August 6, 2019 15:45
djones pushed a commit that referenced this pull request Aug 6, 2019
## [0.9.1](v0.9.0...v0.9.1) (2019-08-06)

### Bug Fixes

* Log error if there is one from the config service ([#318](#318)) ([6432b63](6432b63))
* Use `innerHTML` rather than `innerText` for textareas ([#317](#317)) ([b700fbb](b700fbb))
} catch {
logger.debug('.percy.yml configuration file not supplied or failed to be loaded and parsed.')
} catch (error) {
logger.debug(`.percy.yml configuration file not supplied or failed to be loaded and parsed: ${error}`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants